import request from '@/utils/request'

// 查询删除更新条件列表
export function listBiDeleteCondition(query) {
  return request({
    url: '/conf/BiDeleteCondition/list',
    method: 'get',
    params: query
  })
}

// 查询删除更新条件详细
export function getBiDeleteCondition(id) {
  return request({
    url: '/conf/BiDeleteCondition/' + id,
    method: 'get'
  })
}

// 新增删除更新条件
export function addBiDeleteCondition(data) {
  return request({
    url: '/conf/BiDeleteCondition',
    method: 'post',
    data: data
  })
}
export function insertData(data) {
  return request({
    url: '/conf/BiDeleteCondition/insertData',
    method: 'post',
    data: data
  })
}
// 修改删除更新条件
export function updateBiDeleteCondition(data) {
  return request({
    url: '/conf/BiDeleteCondition',
    method: 'put',
    data: data
  })
}

// 删除删除更新条件
export function delBiDeleteCondition(id) {
  return request({
    url: '/conf/BiDeleteCondition/' + id,
    method: 'delete'
  })
}
